package com.example.factory_demo.factory.abstactfactroy;

public class AbstactFactoryTest {

    public static void main(String[] args) {
        ICourseFactory factory = new JavaCourseFactory();

        factory.createCourse().record();
        factory.createNote().read();
    }

}
